package com.wksc.framework.impexp.result;


/**
 * <p> Title(文件名): ImpResult.java </p>
 * <p> Description(描述): 导入结果类 </p>
 * <p> Copyright(版权): Copyright (c) 2011 </p>
 * <p> Company(公司): 成都四方信息技术有限公司 </p>
 * <p> CreateTime(生成日期)：2011-10-21下午02:02:39 </p>
 * @author wanglei
 * @version impExp_C13
 */
public class ImpResult extends BaseResult {
	//导入操作的总导入错误条数
    private int totalErrNum = 0;
    
    //总导入成功条数
    private int totalCorrectNum = 0;

    //业务操作的类型 0为 入库 1为发送配置变更 2为发指令
    private int bizType;

    //发送命令或配置变更是否成功
    private int sent;
    
    private boolean isSocket = false;
    
    /**
     * 方法描述：累加总成功条数
     *
     * @creator wanglei
     * @param correctNum
     */
    public void addupCorrect(int correctNum){
    	totalCorrectNum += correctNum;
    }

    public int getTotalErrNum() {
        return totalErrNum;
    }

    public void setTotalErrNum(int totalErrNum) {
        this.totalErrNum = totalErrNum;
    }

    public int getBizType() {
        return bizType;
    }

    public void setBizType(int bizType) {
        this.bizType = bizType;
    }

    public int getSent() {
        return sent;
    }

    public void setSent(int sent) {
        this.sent = sent;
    }

	public int getTotalCorrectNum() {
		return totalCorrectNum;
	}

	public void setTotalCorrectNum(int totalCorrectNum) {
		this.totalCorrectNum = totalCorrectNum;
	}

	public boolean isSocket() {
		return isSocket;
	}

	public void setSocket(boolean isSocket) {
		this.isSocket = isSocket;
	}
	
}
